<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		body{
			margin:0;
		}
		.parent{
			overflow:hidden;
		}
		p{
			float:left;
			width:100%;
			margin-right: 120px;
		}
		img{
			width:120px;
			border:1px solid #ccc;
			float:left;
		}
	</style>
</head>
<body>
	<div class="parent">
		<p>wdsfadfd</p>
		<img>
	</div>
</body>
</html>